import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { InputTextModule, ButtonModule,DataTableModule,SharedModule,TabViewModule }  from 'primeng/primeng';
import{ AppRoutesModule  }from'./routes';



import { AppComponent } from './app.component';
import { TopNavbarComponent } from "./topnavbar.component";
import { SidebarComponent } from "./sidebar.component";


@NgModule({
  declarations: [
    AppComponent,
    TopNavbarComponent,
    SidebarComponent,

  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,
    HttpModule,
    InputTextModule, 
    ButtonModule,
    DataTableModule,
    SharedModule,
    TabViewModule,
    AppRoutesModule

  ],
  providers: [],
  bootstrap: [
    AppComponent,
    TopNavbarComponent,
     SidebarComponent,
  ]
})
export class AppModule { }
